package com.scpii.api.common.auth.token;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class DefaultRequestToken implements RequestToken {

	private final static Log logger = LogFactory
			.getLog(DefaultRequestToken.class);

	@Override
	public String getRequestToken(HttpServletRequest request) {
		logger.debug("Trying headers.");
		return request.getParameter(AuthAccessToken.ACCESS_TOKEN);
	}

}
